const express = require('express');
const router = express.Router();
const authController = require('../controllers/authController');
const authMiddleware = require('../middleware/authMiddleware');

// 用户注册路由
router.post('/register', authController.register);

// 用户登录路由
router.post('/login', authController.login);

// 令牌刷新路由
router.post('/refresh', authController.refresh);

module.exports = router; 